package net.martinimix.edesk.search;

import com.bluemartini.dna.BMException;
import com.bluemartini.dna.BusinessObject;
import com.bluemartini.dna.DNAList;

/**
 * Provides an interface for conducting record searches.
 * 
 * @author Scott Rossillo
 *
 */
public interface RecordSearch {
	
	/**
	 * Returns a properly formatted list of search results for the given 
	 * search input.
	 * 
	 * @throws BMException if the given <code>searchInput</code> is invalid
	 * or an error occurs while conducting the search
	 */
	public DNAList search(final BusinessObject searchInput) throws BMException;

}
